# -*- coding: utf-8 -*- 

###########################################################################
## Python code generated with wxFormBuilder (version Nov 17 2010)
## http://www.wxformbuilder.org/
##
## PLEASE DO "NOT" EDIT THIS FILE!
###########################################################################

import wx

###########################################################################
## Class panel_editor_python
###########################################################################

class panel_editor_python ( wx.Panel ):
	
	def __init__( self, parent ):
		wx.Panel.__init__ ( self, parent, id = wx.ID_ANY, pos = wx.DefaultPosition, size = wx.Size( 623,483 ), style = wx.TAB_TRAVERSAL )
		
		self.SetBackgroundColour( wx.Colour( 192, 192, 192 ) )
		
		bSizer1 = wx.BoxSizer( wx.VERTICAL )
		
		bSizer2 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_button_nuevo = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/new_file.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_nuevo.SetToolTipString( u"Nuevo fichero" )
		
		self.m_button_nuevo.SetToolTipString( u"Nuevo fichero" )
		
		bSizer2.Add( self.m_button_nuevo, 0, wx.ALIGN_CENTER_VERTICAL, 0 )
		
		self.m_button_abrir = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/open_folder.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_abrir.SetToolTipString( u"Abrir fichero" )
		
		self.m_button_abrir.SetToolTipString( u"Abrir fichero" )
		
		bSizer2.Add( self.m_button_abrir, 0, wx.ALIGN_CENTER_VERTICAL, 0 )
		
		self.m_button_salvar = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/save.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_salvar.SetToolTipString( u"Salvar fichero" )
		
		self.m_button_salvar.SetToolTipString( u"Salvar fichero" )
		
		bSizer2.Add( self.m_button_salvar, 0, wx.ALIGN_CENTER_VERTICAL, 0 )
		
		self.m_button_copiar = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/copy.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_copiar.SetToolTipString( u"Copiar" )
		
		self.m_button_copiar.SetToolTipString( u"Copiar" )
		
		bSizer2.Add( self.m_button_copiar, 0, wx.ALIGN_CENTER_VERTICAL, 0 )
		
		self.m_button_cortar = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/cut.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_cortar.SetToolTipString( u"Cortar" )
		
		self.m_button_cortar.SetToolTipString( u"Cortar" )
		
		bSizer2.Add( self.m_button_cortar, 0, wx.ALIGN_CENTER_VERTICAL, 0 )
		
		self.m_button_pegar = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/paste.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_pegar.SetToolTipString( u"Pegar" )
		
		self.m_button_pegar.SetToolTipString( u"Pegar" )
		
		bSizer2.Add( self.m_button_pegar, 0, wx.ALIGN_CENTER_VERTICAL, 0 )
		
		self.m_button_undo = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/undo.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_undo.SetToolTipString( u"Deshacer" )
		
		self.m_button_undo.SetToolTipString( u"Deshacer" )
		
		bSizer2.Add( self.m_button_undo, 0, wx.ALIGN_CENTER_VERTICAL, 0 )
		
		self.m_button_redo = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/redo.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_redo.SetToolTipString( u"Rehacer" )
		
		self.m_button_redo.SetToolTipString( u"Rehacer" )
		
		bSizer2.Add( self.m_button_redo, 0, wx.ALIGN_CENTER_VERTICAL, 0 )
		
		self.m_button_indent = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/indent.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_indent.SetToolTipString( u"Nivel de indentación de código" )
		
		self.m_button_indent.SetToolTipString( u"Nivel de indentación de código" )
		
		bSizer2.Add( self.m_button_indent, 0, wx.ALIGN_CENTER_VERTICAL, 0 )
		
		self.m_button_reemplazar = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/replace.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_reemplazar.SetToolTipString( u"Reemplazar texto" )
		
		self.m_button_reemplazar.SetToolTipString( u"Reemplazar texto" )
		
		bSizer2.Add( self.m_button_reemplazar, 0, wx.ALIGN_CENTER_VERTICAL, 0 )
		
		self.m_button_sel_all = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/select_all_vipera.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_sel_all.SetToolTipString( u"Seleccionar todo" )
		
		self.m_button_sel_all.SetToolTipString( u"Seleccionar todo" )
		
		bSizer2.Add( self.m_button_sel_all, 0, wx.ALIGN_CENTER_VERTICAL, 0 )
		
		self.m_button_dedent_sel = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/dedent_vipera.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_dedent_sel.SetToolTipString( u"Dedentar código seleccionado" )
		
		self.m_button_dedent_sel.SetToolTipString( u"Dedentar código seleccionado" )
		
		bSizer2.Add( self.m_button_dedent_sel, 0, wx.ALIGN_CENTER_VERTICAL, 0 )
		
		self.m_button_indent_sel = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/indent_vipera.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_indent_sel.SetToolTipString( u"Indentar código seleccionado" )
		
		self.m_button_indent_sel.SetToolTipString( u"Indentar código seleccionado" )
		
		bSizer2.Add( self.m_button_indent_sel, 0, wx.ALIGN_CENTER_VERTICAL, 0 )
		
		self.m_button_coment = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/Comment-add-32.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_coment.SetToolTipString( u"Comentar código seleccionado" )
		
		self.m_button_coment.SetToolTipString( u"Comentar código seleccionado" )
		
		bSizer2.Add( self.m_button_coment, 0, wx.ALIGN_CENTER_VERTICAL, 0 )
		
		self.m_button_descoment = wx.BitmapButton( self, wx.ID_ANY, wx.Bitmap( u"recursos/images/Comment-delete-32.png", wx.BITMAP_TYPE_ANY ), wx.DefaultPosition, wx.DefaultSize, wx.BU_AUTODRAW )
		self.m_button_descoment.SetToolTipString( u"Descomentar código seleccionado" )
		
		self.m_button_descoment.SetToolTipString( u"Descomentar código seleccionado" )
		
		bSizer2.Add( self.m_button_descoment, 0, wx.ALIGN_CENTER_VERTICAL, 0 )
		
		bSizer1.Add( bSizer2, 0, wx.ALL|wx.EXPAND, 2 )
		
		bSizer8 = wx.BoxSizer( wx.HORIZONTAL )
		
		self.m_button_ir_a = wx.Button( self, wx.ID_ANY, u"IR A...", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_button_ir_a.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), 70, 90, 92, False, wx.EmptyString ) )
		self.m_button_ir_a.SetBackgroundColour( wx.Colour( 255, 255, 255 ) )
		self.m_button_ir_a.SetToolTipString( u"Ir a línea de texto" )
		
		bSizer8.Add( self.m_button_ir_a, 0, 0, 4 )
		
		self.m_searchCtrl = wx.SearchCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.Size( -1,-1 ), wx.TE_PROCESS_ENTER )
		self.m_searchCtrl.ShowSearchButton( True )
		self.m_searchCtrl.ShowCancelButton( False )
		self.m_searchCtrl.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), 70, 90, 92, False, wx.EmptyString ) )
		self.m_searchCtrl.SetForegroundColour( wx.Colour( 0, 0, 0 ) )
		self.m_searchCtrl.SetBackgroundColour( wx.Colour( 255, 255, 255 ) )
		self.m_searchCtrl.SetToolTipString( u"Búsqueda de texto" )
		
		bSizer8.Add( self.m_searchCtrl, 1, wx.EXPAND, 1 )
		
		bSizer1.Add( bSizer8, 0, wx.EXPAND, 5 )
		
		self.m_panel_ed = wx.Panel( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.TAB_TRAVERSAL )
		self.m_panel_ed.SetFont( wx.Font( wx.NORMAL_FONT.GetPointSize(), 70, 93, 92, False, wx.EmptyString ) )
		
		bSizer1.Add( self.m_panel_ed, 1, wx.EXPAND |wx.ALL, 0 )
		
		self.SetSizer( bSizer1 )
		self.Layout()
		
		# Connect Events
		self.m_button_nuevo.Bind( wx.EVT_BUTTON, self.OnNuevo )
		self.m_button_abrir.Bind( wx.EVT_BUTTON, self.OnAbrir )
		self.m_button_salvar.Bind( wx.EVT_BUTTON, self.OnSalvar )
		self.m_button_copiar.Bind( wx.EVT_BUTTON, self.OnCopiar )
		self.m_button_cortar.Bind( wx.EVT_BUTTON, self.OnCortar )
		self.m_button_pegar.Bind( wx.EVT_BUTTON, self.OnPegar )
		self.m_button_undo.Bind( wx.EVT_BUTTON, self.OnUndo )
		self.m_button_redo.Bind( wx.EVT_BUTTON, self.OnRedo )
		self.m_button_indent.Bind( wx.EVT_BUTTON, self.OnIndentacion )
		self.m_button_reemplazar.Bind( wx.EVT_BUTTON, self.OnReemplazar )
		self.m_button_sel_all.Bind( wx.EVT_BUTTON, self.OnSelTodo )
		self.m_button_dedent_sel.Bind( wx.EVT_BUTTON, self.OnDedentSel )
		self.m_button_indent_sel.Bind( wx.EVT_BUTTON, self.OnIndentSel )
		self.m_button_coment.Bind( wx.EVT_BUTTON, self.OnComent )
		self.m_button_descoment.Bind( wx.EVT_BUTTON, self.OnDescoment )
		self.m_button_ir_a.Bind( wx.EVT_BUTTON, self.OnIr )
		self.m_searchCtrl.Bind( wx.EVT_LEFT_DCLICK, self.OnReemplazar )
		self.m_searchCtrl.Bind( wx.EVT_SEARCHCTRL_SEARCH_BTN, self.OnBusqueda )
		self.m_searchCtrl.Bind( wx.EVT_TEXT_ENTER, self.OnBusqueda )
	
	def __del__( self ):
		pass
	
	
	# Virtual event handlers, overide them in your derived class
	def OnNuevo( self, event ):
		event.Skip()
	
	def OnAbrir( self, event ):
		event.Skip()
	
	def OnSalvar( self, event ):
		event.Skip()
	
	def OnCopiar( self, event ):
		event.Skip()
	
	def OnCortar( self, event ):
		event.Skip()
	
	def OnPegar( self, event ):
		event.Skip()
	
	def OnUndo( self, event ):
		event.Skip()
	
	def OnRedo( self, event ):
		event.Skip()
	
	def OnIndentacion( self, event ):
		event.Skip()
	
	def OnReemplazar( self, event ):
		event.Skip()
	
	def OnSelTodo( self, event ):
		event.Skip()
	
	def OnDedentSel( self, event ):
		event.Skip()
	
	def OnIndentSel( self, event ):
		event.Skip()
	
	def OnComent( self, event ):
		event.Skip()
	
	def OnDescoment( self, event ):
		event.Skip()
	
	def OnIr( self, event ):
		event.Skip()
	
	
	def OnBusqueda( self, event ):
		event.Skip()
	
	

###########################################################################
## Class dialogo_ir_a
###########################################################################

class dialogo_ir_a ( wx.Dialog ):
	
	def __init__( self, parent ):
		wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = u"Ir a...", pos = wx.DefaultPosition, size = wx.Size( 179,111 ), style = wx.DEFAULT_DIALOG_STYLE|wx.STAY_ON_TOP )
		
		self.SetSizeHintsSz( wx.DefaultSize, wx.DefaultSize )
		
		bSizer3 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_linea = wx.SpinCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, wx.SP_ARROW_KEYS, 1, 10000, 1 )
		bSizer3.Add( self.m_linea, 1, wx.ALIGN_CENTER|wx.ALL, 5 )
		
		self.m_staticline1 = wx.StaticLine( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LI_HORIZONTAL )
		bSizer3.Add( self.m_staticline1, 0, wx.EXPAND |wx.ALL, 5 )
		
		m_sdbSizer1 = wx.StdDialogButtonSizer()
		self.m_sdbSizer1OK = wx.Button( self, wx.ID_OK )
		m_sdbSizer1.AddButton( self.m_sdbSizer1OK )
		self.m_sdbSizer1Cancel = wx.Button( self, wx.ID_CANCEL )
		m_sdbSizer1.AddButton( self.m_sdbSizer1Cancel )
		m_sdbSizer1.Realize();
		bSizer3.Add( m_sdbSizer1, 1, wx.EXPAND, 5 )
		
		self.SetSizer( bSizer3 )
		self.Layout()
		
		self.Centre( wx.BOTH )
	
	def __del__( self ):
		pass
	

###########################################################################
## Class dialogo_reemplazar
###########################################################################

class dialogo_reemplazar ( wx.Dialog ):
	
	def __init__( self, parent ):
		wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = u"Reemplazar por", pos = wx.DefaultPosition, size = wx.Size( 181,121 ), style = wx.DEFAULT_DIALOG_STYLE|wx.STAY_ON_TOP )
		
		self.SetSizeHintsSz( wx.DefaultSize, wx.DefaultSize )
		
		bSizer3 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_textCtrl_texto = wx.TextCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.DefaultSize, 0 )
		bSizer3.Add( self.m_textCtrl_texto, 0, wx.ALL|wx.EXPAND, 5 )
		
		self.m_checkBox_todo = wx.CheckBox( self, wx.ID_ANY, u"Reemplazar todo", wx.DefaultPosition, wx.DefaultSize, 0 )
		self.m_checkBox_todo.SetValue(True) 
		bSizer3.Add( self.m_checkBox_todo, 0, wx.ALL, 5 )
		
		self.m_staticline1 = wx.StaticLine( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LI_HORIZONTAL )
		bSizer3.Add( self.m_staticline1, 0, wx.EXPAND |wx.ALL, 5 )
		
		m_sdbSizer1 = wx.StdDialogButtonSizer()
		self.m_sdbSizer1OK = wx.Button( self, wx.ID_OK )
		m_sdbSizer1.AddButton( self.m_sdbSizer1OK )
		self.m_sdbSizer1Cancel = wx.Button( self, wx.ID_CANCEL )
		m_sdbSizer1.AddButton( self.m_sdbSizer1Cancel )
		m_sdbSizer1.Realize();
		bSizer3.Add( m_sdbSizer1, 1, wx.EXPAND, 5 )
		
		self.SetSizer( bSizer3 )
		self.Layout()
		
		self.Centre( wx.BOTH )
	
	def __del__( self ):
		pass
	

###########################################################################
## Class dialogo_indentacion
###########################################################################

class dialogo_indentacion ( wx.Dialog ):
	
	def __init__( self, parent ):
		wx.Dialog.__init__ ( self, parent, id = wx.ID_ANY, title = u"Indentación", pos = wx.DefaultPosition, size = wx.Size( 181,97 ), style = wx.DEFAULT_DIALOG_STYLE|wx.STAY_ON_TOP )
		
		self.SetSizeHintsSz( wx.DefaultSize, wx.DefaultSize )
		
		bSizer3 = wx.BoxSizer( wx.VERTICAL )
		
		self.m_spinCtrl_indent = wx.SpinCtrl( self, wx.ID_ANY, wx.EmptyString, wx.DefaultPosition, wx.Size( -1,-1 ), wx.SP_ARROW_KEYS, 1, 300, 4 )
		bSizer3.Add( self.m_spinCtrl_indent, 0, wx.ALIGN_CENTER|wx.ALL, 5 )
		
		self.m_staticline1 = wx.StaticLine( self, wx.ID_ANY, wx.DefaultPosition, wx.DefaultSize, wx.LI_HORIZONTAL )
		bSizer3.Add( self.m_staticline1, 0, wx.EXPAND |wx.ALL, 5 )
		
		m_sdbSizer1 = wx.StdDialogButtonSizer()
		self.m_sdbSizer1OK = wx.Button( self, wx.ID_OK )
		m_sdbSizer1.AddButton( self.m_sdbSizer1OK )
		m_sdbSizer1.Realize();
		bSizer3.Add( m_sdbSizer1, 1, wx.EXPAND, 5 )
		
		self.SetSizer( bSizer3 )
		self.Layout()
		
		self.Centre( wx.BOTH )
	
	def __del__( self ):
		pass
	

